package com.right.health.app.base;


import com.right.health.app.base.delegate.OnProessDelegate;

/**
 * Base Fragment
 *
 * Created by Hope on 15/8/21.
 */
public abstract class BaseProcessFragment<T extends IBasePresenter,K> extends BasePresenterFragment<T,K> {

    protected OnProessDelegate mDelegate;

    protected String mCurrentTag;

    public void setProessDelegate(OnProessDelegate delegate) {
        this.mDelegate = delegate;
    }

    /**
     * 当back键按下时候的响应。
     *
     * @return 是否被响应，如果返回true，则是被响应。如果返回false，则不被响应。
     */
    public boolean onBackPressed() {
        return false;
    }


    public String getCurrentTag() {
        return mCurrentTag;
    }


}
